package leetcode.D2000.T1020;

import util.GraphUtil;

/**
 * @File Info: leetcode -- <M1020>
 * @Author: 18362
 * @Create: 2022-02-26 14:42:13 星期六
 */
public class M1020 {
    public static void main(String[] args) {
        int[][] grid = GraphUtil.parseGraph("[[0,1,1,0],[0,0,1,0],[0,0,1,0],[0,0,0,0]]");
        GraphUtil.printGraph(grid);
        System.out.println(new Solution().numEnclaves(grid));
    }
}
